package com.guguskins.back.service;

import com.guguskins.back.entity.GuPropNum;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guguskins.back.entity.GuUser;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-05-24
 */
public interface GuPropNumService extends IService<GuPropNum> {

    List<GuPropNum> getBySteamId(String steamId);

    GuPropNum getByUserIdAndPropId(Long userId, int propId);

    boolean init(GuUser user);

    void addPropNum(Long userId, Long propId);
}
